﻿CREATE TABLE [dbo].[TimeLog](
	[TimeLogId] [int] IDENTITY(1,1) NOT NULL,
	[TimeIn] [datetime] NOT NULL,
	[TimeOut] [datetime] NOT NULL,
	[UserId] [int] NOT NULL,
	[ParentId] [int] NOT NULL,
	[IsHistory] [bit] NOT NULL,
 CONSTRAINT [PK_TimeLog] PRIMARY KEY CLUSTERED 
(
	[TimeLogId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]